from rest_framework import serializers
from erp_system.models import MenuModel
# from rest_framework.serializers import ModelSerializer


class MenuSerializer(serializers.ModelSerializer):
    """菜单功能的序列化类"""
    class Meta:
        model = MenuModel
        fields = '__all__'
